package org.rk.core.user.userPerm;

import javax.validation.constraints.NotNull;

import org.rk.core.common.anno.FieldMeta;
import org.rk.core.common.anno.TableMeta;
import org.rk.core.common.bean.BaseBean;
@TableMeta(name = "core_perm", catalog = "rk_user_manage")
public class CorePerm extends BaseBean{

	private static final long serialVersionUID = 1L;
	@NotNull
	@FieldMeta(name="permCode",length=100,desc="")
	private String permCode;
	@NotNull
	@FieldMeta(name="permName",length=100,desc="")
	private String permName;
	@FieldMeta(name="permUrl",length=300,desc="")
	private String permUrl;
	@NotNull
	@FieldMeta(name="type",length=20,desc="")
	private String type;
	@NotNull
	@FieldMeta(name="enabled",length=2,desc="")
	private String enabled;
	@FieldMeta(name="remark",length=200,desc="")
	private String remark;

	public void setPermCode(String permCode){
		this.permCode=permCode;
	}

	public String getPermCode(){
		return permCode;
	}

	public void setPermName(String permName){
		this.permName=permName;
	}

	public String getPermName(){
		return permName;
	}

	public void setPermUrl(String permUrl){
		this.permUrl=permUrl;
	}

	public String getPermUrl(){
		return permUrl;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public void setEnabled(String enabled){
		this.enabled=enabled;
	}

	public String getEnabled(){
		return enabled;
	}

	public void setRemark(String remark){
		this.remark=remark;
	}

	public String getRemark(){
		return remark;
	}

}
